package CreationalPattern.Singleton.EasySingleton;

public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        Singleton instance1 = Singleton.getInstance();
        if (instance == instance1) {
            System.out.println("两实例相同");
        } else {
            System.out.println("两实例不同");
        }
    }
}
